import request from '@/utils/request';
import { excludeKeys } from '@/utils/index';

// 获取专题列表
export function getSpecialSubjectList(options) {
  return request({
    url: '/v1/special-subject/analysis',
    method: 'get',
    params: options
  });
}

// 获取专题详情
export function getSpecialSubjectDetail(options) {
  return request({
    url: `/v1/special-subject/analysis/${options.id}`,
    method: 'get',
    params: excludeKeys(options, ['id'])
  });
}
